package com.wxl.micro.service.order.feign;

import org.springframework.stereotype.Component;

/***
 * 降级策略
 */
@Component
public class StockFeignClientFallback implements StockFeignClient {

    @Override
    public String query(String id) {
        System.out.println("stock-service降级啦");
        return "stock-service降级啦";
    }
}
